package com.pengweiwei.androidzygote.mine;

import android.annotation.SuppressLint;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.pengweiwei.androidzygote.databinding.FragmentMineBinding;
import com.putong35.common.account.AccountManager;
import com.putong35.common.baseactfrag.fragment.BaseFragment;

@SuppressLint("ValidFragment")
public class MineFragment extends BaseFragment {

    public MineFragment() {

    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = super.onCreateView(inflater, container, savedInstanceState);
        return view;
    }


    @Override
    public View createDataView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        FragmentMineBinding fragmentMineBinding = FragmentMineBinding.inflate(inflater);
        fragmentMineBinding.setAccount(AccountManager.getInstance().getAccount());
        return fragmentMineBinding.getRoot();
    }


//    public void onBtnSettingsClicked() {
//        SettingsActivity.start(getActivity());
//    }
}
